package com.xiyu.service.errorCode.elder;

import com.xiyu.service.framework.exception.ErrorCode;

/**
* checkIn 错误码枚举类
*
* checkIn 入住登记，使用 1003002000段
*/
public interface CheckInErrorCode {
    Integer ERROR_CODE_START_CODE = 1003002000;

    ErrorCode ELDER_CHECK_IN_NOT_EXISTS = new ErrorCode(ERROR_CODE_START_CODE, "入住登记不存在");
    ErrorCode ELDER_CHECK_IN_FEE_NOT_EXISTS = new ErrorCode(ERROR_CODE_START_CODE + 1, "入住登记费用不存在");
    ErrorCode ELDER_CHECK_IN_TO_BE_CHECK_CAN_CANCEL = new ErrorCode(ERROR_CODE_START_CODE + 2, "只有待入住状态的入住登记可以取消");
    ErrorCode ELDER_CHECK_IN_TO_BE_CHECK_CAN_CHECKED = new ErrorCode(ERROR_CODE_START_CODE + 3, "只有待入住状态的入住登记可以取消");
    ErrorCode ELDER_CHECK_IN_NOT_ELDER = new ErrorCode(ERROR_CODE_START_CODE + 4, "入住登记没有关联老人");
    ErrorCode ELDER_CHECK_IN_FEE_CATEGORY_NOT_EXISTS = new ErrorCode(ERROR_CODE_START_CODE + 5, "入住登记费用类别不存在");
    ErrorCode ELDER_CHECK_IN_ALREADY_ELDER = new ErrorCode(ERROR_CODE_START_CODE + 6, "此老人已经入住登记");
}